<div class="row">
  <div class="col-xs-12">
    <div class="box box-primary">
      <div class="box-header">
        <h3 class="box-title">Verifikasi Layanan</h3>
        <span class="box-title tmb-title">
        	<!-- <a href="<?php echo site_url('klaim/add')?>" class="btn btn-xs btn-primary btn-flat"><i class="ion-plus-round"></i>&nbsp;&nbsp;Tambah</button></a> -->
        </span>
      </div><!-- /.box-header -->
      <div class="box-body box-export-tools table-responsive">
        <div class="box-body col-xs-12 col-lg-4">
	        <!-- text input -->
	        <div class="form-group">
	          <label>Tanggal Awal : </label> <?php echo $this->session->userdata('tgl_awal'); ?>
	        </div>
	      </div>
	      <div class="box-body col-xs-12 col-lg-4">
	        <!-- text input -->
	        <div class="form-group">
	          <label>Tanggal Akhir : </label> <?php echo $this->session->userdata('tgl_akhir'); ?>
	        </div>
       	</div>
       	<div class="box-body col-xs-12 col-lg-4">
          <!-- text input -->
          <div class="form-group">
            <label>PPK : </label> <?php echo $ppk['ppk'] ?>
          </div>
       	</div>		
        
        <div class="clearfix"></div>
        	<span class="notif notif-primary" <?php if(is_string($this->session->flashdata('sukses'))){echo 'style="display:block;"';}else{echo 'style="display:none;"';}?>>
        		<i class="fa fa-check"></i>
        		<?php echo $this->session->flashdata('sukses'); ?>
        		<button type="button" class="close">&times;</button>
        	</span>

        	<span class="notif notif-danger" <?php if(is_string($this->session->flashdata('gagal'))){echo 'style="display:block;"';}else{echo 'style="display:none;"';}?>>
        		<i class="fa fa-check"></i>
        		<?php echo $this->session->flashdata('gagal'); ?>
        		<button type="button" class="close">&times;</button>
        	</span>
          <table class="table table-hover table-condensed table-striped">
						<thead>
						<tr>
							<th style="text-align:center;" width="3%">#</th>
							<th>Status</th>
							<th>Kode Klaim</th>
							<th>Nama</th>
							<th>Tgl Masuk</th>
							<th>Tgl Keluar</th>
							<th>LOS</th>
							<th>Jenis</th>
							<th></th>
						</tr>
						</thead>
						<?php 
							if(!empty($results)){
								foreach ($results as $row) {
									?>
									<tr>
										<td align="center"><?php echo $ordinal_num++ ?></td>
										<td><?php echo $row['status']?></td>
										<td><?php echo $row['kd_klaim']?></td>
										<td><?php echo $row['nama']?></td>
										<td><?php echo id_date($row['tgl_masuk'])?></td>
										<td><?php echo id_date($row['tgl_keluar'])?></td>
										<td><?php echo $row['los']?></td>
										<td><?php echo $row['jenis_kunjungan']?></td>
										<td>
											<span class="pull-right">
												<?php echo anchor('feedback1_layanan/detail/'.$row['kd_klaim'].'','Detail','class="label label-info" title="Detail data klaim"'); ?>
												<?php echo anchor('feedback1_layanan/verifikasi/'.$row['kd_klaim'].'','Verifikasi','class="label label-warning" title="Verifikasi data klaim"'); ?>
											</span>
										</td>
									</tr>
									<?php 
								}
							}else{
						?>
						<tr>
							<td colspan="9" align="center">Tidak ada data</td>
						</tr>
						<?php
							}
						?>							
					</table>									
        </div><!-- /.box-body -->
        <div class="box-footer clearfix">
          <ul class="pagination pagination-sm no-margin pull-right">
            <?php echo $pagination; ?>
          </ul>        
        </div>
    </div><!-- /.box -->                            
  </div>
</div>